﻿@model IEnumerable<BussinessLogic.Models.Administrator.LockAccountModel>
@{
    ViewBag.Title = "LockAccounts";
}
<h2>
    LockAccounts</h2>
<table>
    <tr>
        <th>
            Name
        </th>
        <th>
            UserName
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserName)
            </td>
            <td>
                @Html.ActionLink("Lock", "LockAccount", new { id=item.UserID })
            </td>
        </tr>
    }
</table>
